package com.qlzb.taskmanagement.persistentData.entity.tower;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name="sys_area")
public class TowerSysArea {
    @Id
    private String id;
    private String code; 	// 所属区域编码
    private String name; 	// 所属区域名称
    //中文层级
    @Column(name = "seq_cn",columnDefinition=("varchar(128)  DEFAULT NULL COMMENT '中文层级'"))
    private String seqCn;    //区域详细信息
    @Column(name = "seq_no",columnDefinition=("varchar(128)  DEFAULT NULL COMMENT '主键层级'"))
    private String seqNo;    //区域id集
    @Column(name = "del_flag",columnDefinition = "tinyint(4) DEFAULT 0 Comment '删除标识'")
    private int delFlag; //删除标识
    //上级
    @Column(name = "parent_id")
    private String parentId;

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSeqCn() {
        return seqCn;
    }

    public void setSeqCn(String seqCn) {
        this.seqCn = seqCn;
    }

    public String getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(String seqNo) {
        this.seqNo = seqNo;
    }
}
